package com.bajie.bjlisten.entity.response;


import com.bajie.bjlisten.entity.BjUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class BjUserListResult extends ResponseResult {

    @ApiModelProperty(value = "用户列表信息", example = "true", required = true)
    List<BjUser> bjUsers;
    int returnCode;

    public BjUserListResult(CommonCode resultCode, List<BjUser> bjUsers) {
        super(resultCode);
        this.bjUsers = bjUsers;
    }

    public BjUserListResult(CommonCode resultCode, int returnCode) {
        super(resultCode);
        this.returnCode = returnCode;
    }


}
